* {
	margin: 0px;
	padding: 0px;
}

body {
	margin: 0;
	padding: 0;
	background-color: #ddd;
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666;
}

h1,h2,h3 {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #F93D00;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.6em;
}

p,ul,ol {
	margin-top: 0;
	line-height: 180%;
}

ul,ol {
	
}

/* Reset Button */
button {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	font-style: normal;
	font-size: 100%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
}

a,a:link,a:visited {
	border: none;
	cursor: pointer;
	text-decoration: none;
	color: #336699;
	outline: none;
}

a:hover,a:active {
	text-decoration: none;
	color: #000000;
}

.rounded { /*
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
*/
	
}

.hightlight {
	background-color: #FEEFB3;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* Hides from IE-mac */
* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
/* End hide from IE-mac */

#wrapper {
	width: 980px;
	margin: 0 auto;
	padding: 0;
}

/* Top Menu */
#topnav {
	width: 100%;
	padding: 0;
	margin: 0 auto;
	z-index: 99999;
	background: #333;
	border-bottom: 1px solid #000;
}

#topnav .limit {
	padding: 0;
	margin: 0 auto;
	width: 980px;
	z-index: 999;
	position: relative;
}

#topnav ul {
	width: 800px;
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
}

#topnav ul a,#topnav ul a:link,#topnav ul a:visited {
	color: #ccc;
	display: block;
	text-decoration: none;
	padding: 0 10px;
	margin: 0;
	font-size: 15px;
}

#topnav ul a.current {
	color: #fff;
	background: #4F4F4F;
}

#topnav li {
	height: 40px;
	line-height: 40px;
	float: left;
	padding: 0;
	margin: 0;
}

/* Header */
#header {
	width: 960px;
	height: 68px;
	margin: 15px auto;
	position: relative;
	z-index: 5;
	clear: both;
}

/* Logo */
#logo {
	float: left;
}

#logo a img {
	border: none;
}

/* User Info */
#user_info {
	float: right;
	font-size: 13px;
}

#user_info p {
	line-height: 19px;
}

#user_info h2 {
	color: #000;
	font-size: 15px;
	font-family: Arial, Helvetica, sans-serif;
}

#user_info .avatar {
	float: left;
}

#user_info .avatar img {
	width: 64px;
	height: 64px;
	border: 1px solid #999;
}

#user_info .meta {
	padding: 5px;
	margin-left: 72px;
	text-align: left;
	background: #eee;
	z-index: 1;
	border: 1px solid #d5d5d5;
}

#user_info #gift-count {
	color: #000;
	font-weight: bold;
}

/* Page */
#page {
	width: 980px;
	margin: 0 auto;
	background: url(../images/wrap-bg-trans.png) repeat-y left top;
}

#page-bgtop {
	width: 980px;
	height: 48px;
	margin: 0 auto;
	background: url(../images/catnav-bg-trans.png) no-repeat left top;
}

#page-bgtop-sub {
	width: 980px;
	height: 22px;
	margin: 0 auto;
	background: url(../images/catnav-bottom-trans.png) no-repeat left top;
}

#page-bgbtm-sub {
	width: 980px;
	height: 22px;
	margin: 0 auto;
	background: url(../images/catnav-bottom-trans.png) no-repeat left top;
}

#page-bgbtm {
	width: 980px;
	height: 50px;
	margin: 0 auto;
	background: url(../images/wrap-bot-bg-trans.png) no-repeat left top;
}

/* News Fader */
#news-fader {
	color: #000;
	height: 32px;
	font-size: 13px;
	padding: 15px 20px 15px 60px;
	background: url(../images/news-icon.png) no-repeat 20px 10px;
}

/* Content */
#content {
	float: left;
	width: 710px;
	padding: 20px 0 0 20px;
}

.post {
	margin-bottom: 8px;
	background: #fff;
	border: 1px solid #D5D5D5;
}

.post .gift-share {
	float: right;
	padding: 15px 20px 15px 20px;
}

.post .gift-share img {
	border: none;
}

.post .avatar {
	float: left;
	padding-top: 15px;
	padding-left: 20px;
}

.post .avatar img {
	width: 48px;
	height: 48px;
	border: 1px solid #999;
}

.post .title {
	padding-top: 15px;
	padding-left: 82px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
}

.post .title img {
	width: 32px;
	height: 32px;
	position: absolute;
}

.post .title a {
	color: #000000;
	border: none;
	padding-left: 36px;
}

.post .meta {
	border-bottom: 1px dashed #D5D5D5;
	padding-left: 84px;
	padding-bottom: 5px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: italic;
}

.post .entry {
	padding: 10px 20px 15px 20px;
	text-align: justify;
	overflow: auto;
}

.post .entry img { /*max-width: 670px;*/
	
}

.post .edit-time {
	font-size: 11px;
	font-style: italic;
	padding: 10px 20px 15px 20px;
}

.post .gift-box {
	padding: 0px 20px 15px 20px;
}

.post .manage {
	text-align: right;
	padding: 0 20px 15px 0;
}

.post .manage img {
	border: none;
}

/* Comment */
#comments {
	margin-top: 16px;
}

#comments .header {
	color: #000;
	padding: 8px 8px 8px 40px;
	font-size: 15px;
	background: #eee url(../images/comment-count.png)no-repeat 5px 3px;
	font-weight: bold;
	margin-bottom: 8px;
	border: 1px solid #ddd;
}

.comment {
	margin-bottom: 8px;
	background: #fff;
	border: 1px solid #D5D5D5;
}

.comment .avatar {
	float: left;
	padding-top: 15px;
	padding-left: 20px;
}

.comment .avatar img {
	width: 48px;
	height: 48px;
	border: 1px solid #999;
}

.comment .meta {
	padding-top: 15px;
	padding-left: 76px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: italic;
}

.comment .meta p {
	line-height: 17px;
}

.comment .entry {
	padding: 0 20px 15px 20px;
	text-align: justify;
	overflow: auto;
}

.comment .entry img { /*max-width: 670px;*/
	
}

.comment .gift-box {
	padding: 0px 20px 15px 20px;
}

.comment .edit-time {
	font-size: 11px;
	font-style: italic;
	padding: 10px 20px 15px 20px;
}

.comment .manage {
	float: right;
	padding: 15px 20px 0 0;
}

.comment .manage img {
	border: none;
}

/* Topic List */
.topic_list {
	
}

.topic_list .header {
	color: #000;
	padding: 5px;
	font-size: 15px;
	font-weight: bold;
	background: #eee;
	border: 1px solid #ddd;
}

.topic_list .header div,.topic_list .body div {
	display: inline-block;
}

.topic_list .header .title {
	width: 380px;
	text-align: center;
}

.topic_list .header .poster {
	width: 80px;
	text-align: center;
}

.topic_list .header .views {
	width: 80px;
	text-align: center;
}

.topic_list .header .last_post {
	width: 125px;
	text-align: center;
}

.topic_list .body {
	padding: 5px 5px 10px;
	font-size: 13px;
	margin-top: 6px;
	margin-bottom: 3px;
	background-color: #fff;
	border: 1px solid #d5d5d5;
}

.topic_list .body .title {
	width: 380px;
	text-align: left;
}

.topic_list .body .title img {
	width: 16px;
	height: 16px;
	padding: 0 5px;
}

.topic_list .body .poster {
	width: 80px;
	text-align: center;
}

.topic_list .body .views {
	width: 80px;
	text-align: center;
}

.topic_list .body .last_post {
	width: 135px;
	font-size: 11px;
	text-align: center;
}

.topic_list .body .list {
	padding: 3px 0px;
	border-bottom: 1px dashed #D5D5D5;
}

/* Profile */
.profileform .avatar {
	width: 64px;
	height: 64px;
	border: 1px solid #999;
}

/* Emoticon */
.emoticon {
	display: none;
	position: absolute;
	margin-left: 150px;
	width: 180px;
	padding: 3px;
	z-index: 999;
	background-color: #fff;
	border: 1px solid #ccc;
}

.emoticon a {
	border: none;
	margin-right: 1px;
}

.emoticon img {
	border: none;
}

/* Sidebar */
#sidebar {
	float: right;
	width: 220px;
	padding: 20px 20px 0 0;
	color: #000;
}

#sidebar p {
	padding-bottom: 20px;
	text-align: justify;
}

/* Footer */
#footer {
	height: 50px;
	margin: 0 auto;
	padding: 0px 0 15px 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #B2B2B2;
}

#footer p {
	margin: 0;
	line-height: normal;
	font-size: 13px;
	text-align: center;
}

#footer a {
	color: #3D444F;
}

#topic_preview,#post_preview {
	padding: 20px;
	overflow: auto;
	margin-bottom: 10px;
	background: #fff;
	border: 1px solid #D5D5D5;
}

#topic_preview .head,#post_preview .head {
	font-size: 16px;
	padding-bottom: 10px;
}

#topic_preview .body img,#post_preview .body img {
	max-width: 660px;
}

/* Form */
fieldset {
	padding: 20px;
	border: 1px solid #D5D5D5;
	background-color: #ffffff;
}

legend {
	font-size: 16px;
}

label {
	display: block;
	font-size: 13px;
	font-weight: bold;
	line-height: 18px;
	cursor: pointer;
	position: relative;
	z-index: 1;
}

select {
	width: 80px;
}

button,input.input-text,input.password,input.button,textarea.input-text,select {
	font-family: Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
}

input.input-text,input.password,textarea.input-text,select {
	display: block;
	background: transparent url(../images/input-bg.png) no-repeat 0 0;
	margin: 0 0 10px;
	padding: 3px 4px;
	border: 1px solid #bbb;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font: 12px/ 18px Helvetica Neue, "Arial", Helvetica, Verdana, sans-serif;
	color: #999;
	position: relative;
	z-index: 2;
	line-height: 18px;
}

input.input-text:focus,textarea.input-text:focus,select:focus {
	outline: none;
	border-color: #999;
	color: #333;
	padding: 2px 3px;
	border: 2px solid #2daebf;
}

.inlined {
	padding-left: 6px;
	font: normal 12px/ 18px "Helvetica Neue";
	position: relative;
	z-index: 1;
	opacity: 0.75;
	-webkit-transition: opacity 0.15s linear;
}

.inlined+.input-text {
	margin-top: -22px;
	background-color: transparent;
	position: relative;
	z-index: 2;
}

label.focus {
	opacity: 0.35;
}

label.has-text {
	opacity: 0.0;
	-webkit-transition-duration: 0s;
}

/* Message Box */
.info,.success,.warning,.error,.validation {
	font-size: 13px;
	border: 1px solid;
	margin: 10px 0px;
	padding: 15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	font-family: Arial, Helvetica, sans-serif;
}

.info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('../images/info.png');
}

.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url('../images/success.png');
}

.warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('../images/warning.png');
}

.error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('../images/error.png');
}

/* Quote */
blockquote {
	margin: 1em 2em;
	border-left: 1px dashed #D5D5D5;
	padding-left: 1em;
}

blockquote p:first-letter {
	float: left;
	margin: .2em .3em .1em 0;
	font-family: "Monotype Corsiva", "Apple Chancery", fantasy;
	font-size: 220%;
	font-weight: bold;
}

blockquote p:first-line {
	font-variant: small-caps;
}

/* Button */
.awesome img {
	border: none;
}

.awesome,.awesome:visited {
	background: #222 url(../images/alert-overlay.png) repeat-x;
	display: inline-block;
	margin-right: 5px;
	padding: 5px 10px 6px;
	color: #fff;
	text-decoration: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	position: relative;
	cursor: pointer;
}

.awesome:hover {
	background-color: #111;
	color: #fff;
}

.awesome:active {
	top: 1px;
}

.small.awesome,.small.awesome:visited {
	font-size: 11px;
	padding: ;
}

.awesome,.awesome:visited,.medium.awesome,.medium.awesome:visited {
	font-size: 13px;
	font-weight: bold;
	line-height: 1;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}

.large.awesome,.large.awesome:visited {
	font-size: 14px;
	padding: 8px 14px 9px;
}

.super img {
	border: none;
}

.super,.super:link,.super:visited {
	color: #666;
	cursor: pointer;
	font-weight: bold;
	position: relative;
	text-align: center;
	margin-right: 5px;
	padding: 3px 12px 5px;
	border: 1px solid rgba(0, 0, 0, .25);
	border-bottom-color: rgba(0, 0, 0, .35);
	text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
	background-image: url(../images/36px-blended.png);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.super:active {
	top: 1px;
}

.small.super {
	font-size: 11px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
}

.large.super {
	background-position: 0 0;
	padding: 6px 17px 8px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
}

.secondary {
	background-color: #fff;
}

.secondary:hover {
	background-color: #eee;
}

.super span {
	padding-left: 20px;
}

#newtopicbtn span {
	background-image: url(../images/page-edit-icon.png);
	background-repeat: no-repeat;
	background-position: center left;
}

#replytopicbtn span {
	background-image: url(../images/last-post-icon.png);
	background-repeat: no-repeat;
	background-position: center left;
}

#deletetopicbtn span {
	background-image: url(../images/delete-icon.png);
	background-repeat: no-repeat;
	background-position: center left;
}

/* Pagination */
#paginations {
	text-align: right;
	display: block;
	height: 22px;
	line-height: 21px;
	clear: both;
	padding-top: 3px;
	font-weight: normal;
}

#paginations a:link,#paginations a:visited {
	padding: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	border: 1px solid #d5d5d5;
	margin-left: 10px;
	text-decoration: none;
	background-color: #F5F5F5;
	color: #999;
	width: 22px;
	font-weight: normal;
}

#paginations a:hover {
	background-color: #eee;
	border: 1px solid #ddd;
	color: #363636;
}

#paginations .disabled {
	padding: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	border: 1px solid #d5d5d5;
	margin-left: 10px;
	text-decoration: none;
	background-color: #F5F5F5;
	color: #999;
	cursor: default;
}

#comments-pagination {
	font-size: 90%;
}

#comments-pagination a {
	color: #999;
	text-decoration: none;
	border: solid 1px #999;
	background: #eee;
}

#comments-pagination a:hover {
	color: #000;
	border: solid 1px #000;
}

#comments-pagination a, #comments-pagination span {
	display: block;
	float: left;
	padding: 0.3em 0.5em;
	margin-right: 5px;
	margin-bottom: 5px;
}

#comments-pagination .current {
	color: #fff;
	background: #B5B5B5;
	font-weight: bold;
	border: solid 1px #9C9C9C;
}

#comments-pagination .current.prev, #comments-pagination .current.next {
	color: #999;
	font-weight: normal;
	border-color: #d5d5d5;
	background: #F5F5F5;
}

/* ztips by @dtinth */
#ztips {
	background: #4f4f4f;
	border: 1px solid #000000;
	position: absolute;
	/*visibility: visible;*/
	font-size: 13px;
	color: #fff;
	padding: 3px;
	z-index: 999999;
}

#ztips a {
	color: #fff;
}

/* override formcheck tips */
.fc-tbx {
	z-index: 999999;
}

.fc-tbx p {
	font-size: 11px !important;
}

/* Tabs */
.widget {
	padding: 10px;
	background: #fff;
	border: 1px solid #d5d5d5;
	margin-bottom: 15px;
}

.widget h2 {
	color: #000;
	cursor: pointer;
	font-size: 16px;
	margin-bottom: 5px;
	padding-left: 5px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #d5d5d5;
	background: url(../images/collapsed.png)no-repeat right 4px;
}

.widget h2.expanded {
	background: url(../images/expanded.png)no-repeat right 4px;
}

.widget li {
	background: url(../images/last-post-icon.png) no-repeat 0 3px;
	list-style: none;
	/*list-style-image: url(../images/last-post-icon.png);*/
	padding-left: 20px;
}

.bottomwidget {
	padding:10px;
	margin:0 20px;
	background: #fff;
	border: 1px solid #d5d5d5;
	border-bottom: none;
}

.bottomwidget h2 {
	color: #000;
	font-size: 16px;
	margin-bottom: 5px;
	padding-left: 5px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #d5d5d5;	
}

.tabnav li {
	display: inline;
	list-style: none;
	margin: 0;
}

.tabnav li a {
	text-decoration: none;
	text-transform: uppercase;
	color: #222;
	font-weight: bold;
	padding: 4px 6px;
	outline: none;
}

.tabnav li a:hover,.tabnav li a:active {
	text-decoration: underline;
}

.tabnav li.selected a {
	background: #D5D5D5;
	color: #222;
	text-decoration: none;
}

.tabdiv {
	position: absolute;
	margin-top: 0px;
	background: #fff;
	border: 1px solid #D5D5D5;
	padding: 5px;
}

.tabdiv li {
	background: url(../images/last-post-icon.png) no-repeat 0 3px;
	list-style: none;
	/*list-style-image: url(../images/last-post-icon.png);*/
	padding-left: 20px;
}

.ui-tabs-hide {
	display: none;
}

/* nCode Image Resizer */
table.ncode_imageresizer_warning,table.ncode_imageresizer_warning td {
	background-color: #fefee1; /* the bgcolor behind the text and image */
}

table.ncode_imageresizer_warning {
	color: #000000; /* the font color */
	border: 1px solid #CCCDCD; /* the border around the whole thing */
	cursor: pointer;
}

table.ncode_imageresizer_warning td {
	font-size: 11px;
	vertical-align: middle;
	text-decoration: none;
}

table.ncode_imageresizer_warning td.td1 {
	padding: 0px;
}